package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.demo.myModel.entity.SignUp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SignUpMapper extends BaseMapper<SignUp> {
    
    /**
     * 分页查询报名信息
     */
    Page<SignUp> pageSignUps(Page<SignUp> page, 
                            @Param("competitionId") Integer competitionId,
                            @Param("state") String state);
} 